<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/5/15
 * Time: 16:09
 */

namespace App\Services;


use App\Models\Region;

class CityService
{
    /**
     * @param string $lat
     * @param string $lng
     * 地址列表
     */
    public function getList(string $lat, string $lng)
    {
        return Region::query()->where(['lat' => $lat, 'lng' => $lng])->get()->toArray();
    }

}